package com.zero.insp.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TCompanyExhExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TCompanyExhExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPeriodNumIsNull() {
            addCriterion("period_num is null");
            return (Criteria) this;
        }

        public Criteria andPeriodNumIsNotNull() {
            addCriterion("period_num is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodNumEqualTo(String value) {
            addCriterion("period_num =", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumNotEqualTo(String value) {
            addCriterion("period_num <>", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumGreaterThan(String value) {
            addCriterion("period_num >", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumGreaterThanOrEqualTo(String value) {
            addCriterion("period_num >=", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumLessThan(String value) {
            addCriterion("period_num <", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumLessThanOrEqualTo(String value) {
            addCriterion("period_num <=", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumLike(String value) {
            addCriterion("period_num like", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumNotLike(String value) {
            addCriterion("period_num not like", value, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumIn(List<String> values) {
            addCriterion("period_num in", values, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumNotIn(List<String> values) {
            addCriterion("period_num not in", values, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumBetween(String value1, String value2) {
            addCriterion("period_num between", value1, value2, "periodNum");
            return (Criteria) this;
        }

        public Criteria andPeriodNumNotBetween(String value1, String value2) {
            addCriterion("period_num not between", value1, value2, "periodNum");
            return (Criteria) this;
        }

        public Criteria andExhAreaIsNull() {
            addCriterion("exh_area is null");
            return (Criteria) this;
        }

        public Criteria andExhAreaIsNotNull() {
            addCriterion("exh_area is not null");
            return (Criteria) this;
        }

        public Criteria andExhAreaEqualTo(String value) {
            addCriterion("exh_area =", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaNotEqualTo(String value) {
            addCriterion("exh_area <>", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaGreaterThan(String value) {
            addCriterion("exh_area >", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaGreaterThanOrEqualTo(String value) {
            addCriterion("exh_area >=", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaLessThan(String value) {
            addCriterion("exh_area <", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaLessThanOrEqualTo(String value) {
            addCriterion("exh_area <=", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaLike(String value) {
            addCriterion("exh_area like", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaNotLike(String value) {
            addCriterion("exh_area not like", value, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaIn(List<String> values) {
            addCriterion("exh_area in", values, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaNotIn(List<String> values) {
            addCriterion("exh_area not in", values, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaBetween(String value1, String value2) {
            addCriterion("exh_area between", value1, value2, "exhArea");
            return (Criteria) this;
        }

        public Criteria andExhAreaNotBetween(String value1, String value2) {
            addCriterion("exh_area not between", value1, value2, "exhArea");
            return (Criteria) this;
        }

        public Criteria andLibNumIsNull() {
            addCriterion("lib_num is null");
            return (Criteria) this;
        }

        public Criteria andLibNumIsNotNull() {
            addCriterion("lib_num is not null");
            return (Criteria) this;
        }

        public Criteria andLibNumEqualTo(String value) {
            addCriterion("lib_num =", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumNotEqualTo(String value) {
            addCriterion("lib_num <>", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumGreaterThan(String value) {
            addCriterion("lib_num >", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumGreaterThanOrEqualTo(String value) {
            addCriterion("lib_num >=", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumLessThan(String value) {
            addCriterion("lib_num <", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumLessThanOrEqualTo(String value) {
            addCriterion("lib_num <=", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumLike(String value) {
            addCriterion("lib_num like", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumNotLike(String value) {
            addCriterion("lib_num not like", value, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumIn(List<String> values) {
            addCriterion("lib_num in", values, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumNotIn(List<String> values) {
            addCriterion("lib_num not in", values, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumBetween(String value1, String value2) {
            addCriterion("lib_num between", value1, value2, "libNum");
            return (Criteria) this;
        }

        public Criteria andLibNumNotBetween(String value1, String value2) {
            addCriterion("lib_num not between", value1, value2, "libNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumIsNull() {
            addCriterion("channel_num is null");
            return (Criteria) this;
        }

        public Criteria andChannelNumIsNotNull() {
            addCriterion("channel_num is not null");
            return (Criteria) this;
        }

        public Criteria andChannelNumEqualTo(String value) {
            addCriterion("channel_num =", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumNotEqualTo(String value) {
            addCriterion("channel_num <>", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumGreaterThan(String value) {
            addCriterion("channel_num >", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumGreaterThanOrEqualTo(String value) {
            addCriterion("channel_num >=", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumLessThan(String value) {
            addCriterion("channel_num <", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumLessThanOrEqualTo(String value) {
            addCriterion("channel_num <=", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumLike(String value) {
            addCriterion("channel_num like", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumNotLike(String value) {
            addCriterion("channel_num not like", value, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumIn(List<String> values) {
            addCriterion("channel_num in", values, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumNotIn(List<String> values) {
            addCriterion("channel_num not in", values, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumBetween(String value1, String value2) {
            addCriterion("channel_num between", value1, value2, "channelNum");
            return (Criteria) this;
        }

        public Criteria andChannelNumNotBetween(String value1, String value2) {
            addCriterion("channel_num not between", value1, value2, "channelNum");
            return (Criteria) this;
        }

        public Criteria andBoothIsNull() {
            addCriterion("booth is null");
            return (Criteria) this;
        }

        public Criteria andBoothIsNotNull() {
            addCriterion("booth is not null");
            return (Criteria) this;
        }

        public Criteria andBoothEqualTo(String value) {
            addCriterion("booth =", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothNotEqualTo(String value) {
            addCriterion("booth <>", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothGreaterThan(String value) {
            addCriterion("booth >", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothGreaterThanOrEqualTo(String value) {
            addCriterion("booth >=", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothLessThan(String value) {
            addCriterion("booth <", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothLessThanOrEqualTo(String value) {
            addCriterion("booth <=", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothLike(String value) {
            addCriterion("booth like", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothNotLike(String value) {
            addCriterion("booth not like", value, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothIn(List<String> values) {
            addCriterion("booth in", values, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothNotIn(List<String> values) {
            addCriterion("booth not in", values, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothBetween(String value1, String value2) {
            addCriterion("booth between", value1, value2, "booth");
            return (Criteria) this;
        }

        public Criteria andBoothNotBetween(String value1, String value2) {
            addCriterion("booth not between", value1, value2, "booth");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andImportAmountIsNull() {
            addCriterion("import_amount is null");
            return (Criteria) this;
        }

        public Criteria andImportAmountIsNotNull() {
            addCriterion("import_amount is not null");
            return (Criteria) this;
        }

        public Criteria andImportAmountEqualTo(Double value) {
            addCriterion("import_amount =", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountNotEqualTo(Double value) {
            addCriterion("import_amount <>", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountGreaterThan(Double value) {
            addCriterion("import_amount >", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("import_amount >=", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountLessThan(Double value) {
            addCriterion("import_amount <", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountLessThanOrEqualTo(Double value) {
            addCriterion("import_amount <=", value, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountIn(List<Double> values) {
            addCriterion("import_amount in", values, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountNotIn(List<Double> values) {
            addCriterion("import_amount not in", values, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountBetween(Double value1, Double value2) {
            addCriterion("import_amount between", value1, value2, "importAmount");
            return (Criteria) this;
        }

        public Criteria andImportAmountNotBetween(Double value1, Double value2) {
            addCriterion("import_amount not between", value1, value2, "importAmount");
            return (Criteria) this;
        }

        public Criteria andIncrIsNull() {
            addCriterion("incr is null");
            return (Criteria) this;
        }

        public Criteria andIncrIsNotNull() {
            addCriterion("incr is not null");
            return (Criteria) this;
        }

        public Criteria andIncrEqualTo(Double value) {
            addCriterion("incr =", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrNotEqualTo(Double value) {
            addCriterion("incr <>", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrGreaterThan(Double value) {
            addCriterion("incr >", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrGreaterThanOrEqualTo(Double value) {
            addCriterion("incr >=", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrLessThan(Double value) {
            addCriterion("incr <", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrLessThanOrEqualTo(Double value) {
            addCriterion("incr <=", value, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrIn(List<Double> values) {
            addCriterion("incr in", values, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrNotIn(List<Double> values) {
            addCriterion("incr not in", values, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrBetween(Double value1, Double value2) {
            addCriterion("incr between", value1, value2, "incr");
            return (Criteria) this;
        }

        public Criteria andIncrNotBetween(Double value1, Double value2) {
            addCriterion("incr not between", value1, value2, "incr");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andInspStatusIsNull() {
            addCriterion("insp_status is null");
            return (Criteria) this;
        }

        public Criteria andInspStatusIsNotNull() {
            addCriterion("insp_status is not null");
            return (Criteria) this;
        }

        public Criteria andInspStatusEqualTo(Integer value) {
            addCriterion("insp_status =", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusNotEqualTo(Integer value) {
            addCriterion("insp_status <>", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusGreaterThan(Integer value) {
            addCriterion("insp_status >", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("insp_status >=", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusLessThan(Integer value) {
            addCriterion("insp_status <", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusLessThanOrEqualTo(Integer value) {
            addCriterion("insp_status <=", value, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusIn(List<Integer> values) {
            addCriterion("insp_status in", values, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusNotIn(List<Integer> values) {
            addCriterion("insp_status not in", values, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusBetween(Integer value1, Integer value2) {
            addCriterion("insp_status between", value1, value2, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("insp_status not between", value1, value2, "inspStatus");
            return (Criteria) this;
        }

        public Criteria andInspTimeIsNull() {
            addCriterion("insp_time is null");
            return (Criteria) this;
        }

        public Criteria andInspTimeIsNotNull() {
            addCriterion("insp_time is not null");
            return (Criteria) this;
        }

        public Criteria andInspTimeEqualTo(Date value) {
            addCriterion("insp_time =", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeNotEqualTo(Date value) {
            addCriterion("insp_time <>", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeGreaterThan(Date value) {
            addCriterion("insp_time >", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("insp_time >=", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeLessThan(Date value) {
            addCriterion("insp_time <", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeLessThanOrEqualTo(Date value) {
            addCriterion("insp_time <=", value, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeIn(List<Date> values) {
            addCriterion("insp_time in", values, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeNotIn(List<Date> values) {
            addCriterion("insp_time not in", values, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeBetween(Date value1, Date value2) {
            addCriterion("insp_time between", value1, value2, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspTimeNotBetween(Date value1, Date value2) {
            addCriterion("insp_time not between", value1, value2, "inspTime");
            return (Criteria) this;
        }

        public Criteria andInspImportIsNull() {
            addCriterion("insp_import is null");
            return (Criteria) this;
        }

        public Criteria andInspImportIsNotNull() {
            addCriterion("insp_import is not null");
            return (Criteria) this;
        }

        public Criteria andInspImportEqualTo(String value) {
            addCriterion("insp_import =", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportNotEqualTo(String value) {
            addCriterion("insp_import <>", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportGreaterThan(String value) {
            addCriterion("insp_import >", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportGreaterThanOrEqualTo(String value) {
            addCriterion("insp_import >=", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportLessThan(String value) {
            addCriterion("insp_import <", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportLessThanOrEqualTo(String value) {
            addCriterion("insp_import <=", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportLike(String value) {
            addCriterion("insp_import like", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportNotLike(String value) {
            addCriterion("insp_import not like", value, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportIn(List<String> values) {
            addCriterion("insp_import in", values, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportNotIn(List<String> values) {
            addCriterion("insp_import not in", values, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportBetween(String value1, String value2) {
            addCriterion("insp_import between", value1, value2, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspImportNotBetween(String value1, String value2) {
            addCriterion("insp_import not between", value1, value2, "inspImport");
            return (Criteria) this;
        }

        public Criteria andInspUserIsNull() {
            addCriterion("insp_user is null");
            return (Criteria) this;
        }

        public Criteria andInspUserIsNotNull() {
            addCriterion("insp_user is not null");
            return (Criteria) this;
        }

        public Criteria andInspUserEqualTo(String value) {
            addCriterion("insp_user =", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserNotEqualTo(String value) {
            addCriterion("insp_user <>", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserGreaterThan(String value) {
            addCriterion("insp_user >", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserGreaterThanOrEqualTo(String value) {
            addCriterion("insp_user >=", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserLessThan(String value) {
            addCriterion("insp_user <", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserLessThanOrEqualTo(String value) {
            addCriterion("insp_user <=", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserLike(String value) {
            addCriterion("insp_user like", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserNotLike(String value) {
            addCriterion("insp_user not like", value, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserIn(List<String> values) {
            addCriterion("insp_user in", values, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserNotIn(List<String> values) {
            addCriterion("insp_user not in", values, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserBetween(String value1, String value2) {
            addCriterion("insp_user between", value1, value2, "inspUser");
            return (Criteria) this;
        }

        public Criteria andInspUserNotBetween(String value1, String value2) {
            addCriterion("insp_user not between", value1, value2, "inspUser");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}